package com.ruoyi.product.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品附件对象 tb_prod_atta
 * 
 * @author ruoyi
 * @date 2025-08-05
 */
@Data
public class TbProdAtta implements Serializable {

    /** ID */
    private Integer attaId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Integer prodId;

    /** 商品视频 */
    @Excel(name = "商品视频")
    private String attaVideo;

    /** 定时上架标识;0立即上架1定时上架 */
    @Excel(name = "定时上架标识;0立即上架1定时上架")
    private Integer upFlag;

    /** 定时上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "定时上架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    /** 定时下架标识;0立即下架1定时下架 */
    @Excel(name = "定时下架标识;0立即下架1定时下架")
    private Integer downFlag;

    /** 定时下架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "定时下架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downTime;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    /** 轮播图片 */
    @Excel(name = "轮播图片")
    private String attaImages;

}
